
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<div class="bjui-pageContent">
    <form action="${ctx}/sys/sysTaskjobAction/doSave" class="pageForm" data-toggle="validate">
        <input type="hidden" name="op" id="j_dialog_op" value="${param.op}${op}">
        <c:if test="${!empty taskjob}">
	        <input type="hidden" name="id" id="j_dialog_id" value="${taskjob.id}">
	        <input type="hidden" name="jobServiceBean" id="j_dialog_jobServiceBean" value="${taskjob.jobServiceBean}">
	        <input type="hidden" name="jobStatus" id="j_dialog_jobStatus" value="${taskjob.jobStatus}">
	        <input type="hidden" name="updateTime" id="j_dialog_updateTime" value="${taskjob.updateTime}">
        </c:if>

        <table class="table table-condensed table-hover">
            <tbody>
                <tr>
                    <td colspan="2" align="center" valign="middle"><h4>${title}</h4></td>
                </tr>
                <tr>
                    <td>
                        <label for="job_class" class="control-label x90">类全路径：</label>
                          <input class="" id="job_class" type="text" name="jobClass" value="${taskjob.jobClass}" data-rule="required;" />
                    </td>
                </tr>
               <tr>
                    <td>
                        <label for="job_name" class="control-label x90">名称：</label>
                          <input class="" id="job_name" type="text" name="jobName" value="${taskjob.jobName}" data-rule="required;"  />
                    </td>
                    <td>
                        <label for="job_cron_expression" class="control-label x90">时间表达式：</label>
                          <input class="" id="job_cron_expression" type="text" name="jobCronExpression" value="${taskjob.jobCronExpression}" data-rule="required;" />
                    </td>
                </tr>
               <tr>
                    <td>
                        <label for="param_key1" class="control-label x90">P_1键：</label>
                          <input class="" id="param_key1" type="text" name="paramKey1" id="j_dialog_param_key1" value="${taskjob.paramKey1}"   />
                    </td>
                    <td>
                        <label for="param_value1" class="control-label x90">P_1值：</label>
                          <input class="" id="param_value1" type="text" name="paramValue1"  value="${taskjob.paramValue1}"  />
                    </td>
                </tr>
               <tr>
                    <td>
                        <label for="param_key2" class="control-label x90">P_2键：</label>
                          <input class="" id="param_key2" type="text" name="paramKey2"  value="${taskjob.paramKey2}"   />
                    </td>
                    <td>
                        <label for="param_value2" class="control-label x90">P_2值：</label>
                          <input class="" id="param_value2" type="text" name="paramValue2" value="${taskjob.paramValue2}"  />
                    </td>
                </tr>
               <tr>
                    <td>
                        <label for="param_key3" class="control-label x90">P_3键：</label>
                          <input class="" id="param_key3" type="text" name="paramKey3" value="${taskjob.paramKey3}"   />
                    </td>
                    <td>
                        <label for="param_value3" class="control-label x90">P_3值：</label>
                          <input class="" id="param_value3"  type="text" name="paramValue3" value="${taskjob.paramValue3}"  />
                    </td>
                </tr>
               <tr>
                    <td>
                    	<label for="job_autorun" class="control-label x90">自动运行：</label>
                        <select name="jobAutorun" data-toggle="selectpicker" id="job_autorun" >
		   					<option value="0">是</option>
		   					<option value="1">否</option>
	   					</select>
                    </td>
                    <td>
                        <label for="job_group" class="control-label x90">分组：</label>
                          <input class="" id="job_group"  type="text" name="jobGroup" value="${taskjob.jobGroup}"  />
                    </td>
                </tr>                
                <tr>
                    <td colspan="2">
                        <label for="remark" class="control-label x90">描述：</label>
                        <textarea name="remark" id="remark" rows="5" cols="58">${taskjob.remark}</textarea>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
        <li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
    </ul>
</div>